﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace C4F.DevKit.Calendar
{
    /// <summary>
    /// A general exception to be used with this Calendar API.
    /// </summary>
    public class CalendarException : ApplicationException
    {
        /// <summary>
        /// Creates a new CalendarException
        /// </summary>
        /// <param name="message">A message containing information about the error.</param>
        public CalendarException(string message)
            : base(message)
        {
        }

        /// <summary>
        /// Creates a new CalendarException
        /// </summary>
        /// <param name="message">A message containing information about the error.</param>
        /// <param name="innerException">An inner exception which may contain more error information.</param>
        public CalendarException(string message, Exception innerException)
            : base(message, innerException)
        {
        }
    }
}